package teacher.bean;

import java.util.Date;

/**
 * Students entity. @author MyEclipse Persistence Tools
 */

public class Students implements java.io.Serializable {

	// Fields

	private Integer stuId;
	private String name;
	private String number;
	private Integer sex;
	private Integer degree;
	private Integer isleave;
	private Date leaveDate;
	private Integer teaId;

	// Constructors

	/** default constructor */
	public Students() {
	}

	/** full constructor */
	public Students(String name, String number, Integer sex, Integer degree,
			Integer isleave, Date leaveDate, Integer teaId) {
		this.name = name;
		this.number = number;
		this.sex = sex;
		this.degree = degree;
		this.isleave = isleave;
		this.leaveDate = leaveDate;
		this.teaId = teaId;
	}

	// Property accessors

	public Integer getStuId() {
		return this.stuId;
	}

	public void setStuId(Integer stuId) {
		this.stuId = stuId;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getNumber() {
		return this.number;
	}

	public void setNumber(String number) {
		this.number = number;
	}

	public Integer getSex() {
		return this.sex;
	}

	public void setSex(Integer sex) {
		this.sex = sex;
	}

	public Integer getDegree() {
		return this.degree;
	}

	public void setDegree(Integer degree) {
		this.degree = degree;
	}

	public Integer getIsleave() {
		return this.isleave;
	}

	public void setIsleave(Integer isleave) {
		this.isleave = isleave;
	}

	public Date getLeaveDate() {
		return this.leaveDate;
	}

	public void setLeaveDate(Date leaveDate) {
		this.leaveDate = leaveDate;
	}

	public Integer getTeaId() {
		return this.teaId;
	}

	public void setTeaId(Integer teaId) {
		this.teaId = teaId;
	}

}